<template>
	<view>
		<!-- #ifdef MP-WEIXIN -->
		<navbar  title="问题详情" :isGoBack="true" :isNotice="true" ></navbar>
		<!-- #endif -->
		
		<view class="flex pl-30 pr-30 pt-20" style="background-color: white;">
			<rich-text :nodes="content"></rich-text>
		</view>
	</view>
</template>

<script>
	export default {
		data () {
			return {
				id:1,	
			    content:''
			}
		},
		  // 你的其他选项...
		  onLoad(options) {
			this.id=options.id
			this.setAlipayTitle()
		   
		  },
		  methods: {
		    setAlipayTitle() {				
				this.$http.NewInfo({id:this.id}).then(res=>{
					this.content=res.data.data.content
				})
		    }
		  }
	}
</script>

<style>
	.rich-text-content {
	  margin: 10px;
	  padding: 10px;
	  background-color: #f5f5f5;
	  color: #333;
	}
	
	.rich-text-content span {
	  font-weight: bold;
	}
	
	.rich-text-content a {
	  color: blue;
	}
</style>